import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible' // 设置根标签字体大小，（移动端适配）

import { Icon, Cell, CellGroup, Field, Checkbox, Swipe, SwipeItem, Collapse, CollapseItem, Popup, Area, NavBar, PasswordInput, NumberKeyboard } from 'vant'

Vue.use(Icon)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Field)
Vue.use(Checkbox)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(Popup)
Vue.use(Area)
Vue.use(NavBar)
Vue.use(PasswordInput)
Vue.use(NumberKeyboard)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
